package com.hotai.vo.equipment;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Equipmentdetails {
    private  Integer id;
    private  String  img;
    private  String  name;
    private  String xid;
    private  String model;
    private  String Iname;
    private  Double course;
    private  Integer capacity;
    private  String cname;
    private  String  subject;
    private Integer status;
    private  String   clas;
    private  Integer  city;


    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//存到数据库
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") //从数据库
    private Date createDate;








}
